home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / E / Goportscan_src.lha / GoPortscan_Src / texts.e < prev    next >
Encoding:
Text File  |  2003-02-03  |  24.3 KB  |  558 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. /*
  5.     Description: Most of the program strings have been isolated here to ease
  6.                  localisation.
  7.  
  8.     Quick Notes:
  9.  
  10.     1. DO NOT ALTER texts.e DIRECTLY! ALL CHANGES SHOULD BE MADE TO texts.sd
  11.        This is because texts.sd is parsed by FlexCat as part of the localisation
  12.        process and texts.e is generated automatically.
  13. */
  14.  
  15.  
  16. MODULE  'locale',
  17.         'libraries/locale'
  18.  
  19. DEF catalog:PTR TO catalog,
  20.     txt_MainWindow_Title,
  21.     txt_LookWindow_Title,
  22.     txt_PrefsWindow_Title,
  23.     txt_BookmarkWindow_Title,
  24.     txt_CustomrangeWindow_Title,
  25.     txt_HelperWindow_Title,
  26.     txt_MenuTitle_Project,
  27.     txt_MenuTitle_Settings,
  28.     txt_MenuItem_About,
  29.     txt_MenuItem_AboutMUI,
  30.     txt_MenuItem_MuiSettings,
  31.     txt_MenuItem_Prefs,
  32.     txt_MenuItem_Bookmarks,
  33.     txt_MenuItem_ServiceLook,
  34.     txt_MenuItem_Iconify,
  35.     txt_MenuItem_Quit,
  36.     txt_Face_ListKnown,
  37.     txt_Face_Scan,
  38.     txt_Face_Resolve,
  39.     txt_Face_Abort,
  40.     txt_Face_Dragbar,
  41.     txt_Face_Workingon1,
  42.     txt_Face_Workingon2,
  43.     txt_Face_Workingon3,
  44.     txt_Face_Workingon4,
  45.     txt_Face_Workingon5,
  46.     txt_Face_Workingon6,
  47.     txt_Face_Workingon7,
  48.     txt_Face_Workingon8,
  49.     txt_Face_Workingon9,
  50.     txt_Face_Workingon10,
  51.     txt_Face_Lookup,
  52.     txt_Face_PrefSave,
  53.     txt_Face_PrefCancel,
  54.     txt_Face_Bookmarkadd,
  55.     txt_Face_Bookmarkdel,
  56.     txt_Face_Ping,
  57.     txt_Face_UDPPing,
  58.     txt_Face_Traceroute,
  59.     txt_Face_OK,
  60.     txt_Face_Cancel,
  61.     txt_Face_Pingsweep,
  62.     txt_Face_PortCyc1,
  63.     txt_Face_PortCyc2,
  64.     txt_Face_PortCyc3,
  65.     txt_Face_PortCyc4,
  66.     txt_Face_PortCyc5,
  67.     txt_Face_LookupCyc1,
  68.     txt_Face_LookupCyc2,
  69.     txt_Face_LookupCyc3,
  70.     txt_Face_ScanTypeCyc1,
  71.     txt_Face_ScanTypeCyc2,
  72.     txt_Face_ScanTypeCyc3,
  73.     txt_Face_ScanTypeCyc4,
  74.     txt_Face_PingSweepCyc1,
  75.     txt_Face_PingSweepCyc2,
  76.     txt_Face_Pages1,
  77.     txt_Face_Pages2,
  78.     txt_Face_Pages3,
  79.     txt_Face_Pages4,
  80.     txt_Bubble_Server,
  81.     txt_Bubble_Savepath,
  82.     txt_Bubble_Portrange,
  83.     txt_Bubble_Workingon,
  84.     txt_Bubble_OutputLV,
  85.     txt_Bubble_Timeout,
  86.     txt_Bubble_ListKnown,
  87.     txt_Bubble_Scan,
  88.     txt_Bubble_Abort,
  89.     txt_Bubble_Readcheck,
  90.     txt_Bubble_Verbose,
  91.     txt_Bubble_Wakeup,
  92.     txt_Bubble_Portrangecyc,
  93.     txt_Bubble_Opencustom,
  94.     txt_Bubble_Lookupstring1,
  95.     txt_Bubble_Lookupstring2,
  96.     txt_Bubble_Lookup,
  97.     txt_Bubble_Lookupcyc1,
  98.     txt_Bubble_Lookupcyc2,
  99.     txt_Bubble_Lookupcyc3,
  100.     txt_Bubble_PrefHost,
  101.     txt_Bubble_PrefPort,
  102.     txt_Bubble_PrefLog,
  103.     txt_Bubble_PrefTel,
  104.     txt_Bubble_PrefTime,
  105.     txt_Bubble_PrefSave,
  106.     txt_Bubble_PrefCancel,
  107.     txt_Bubble_PrefRead,
  108.     txt_Bubble_PrefVerbose,
  109.     txt_Bubble_PrefWake,
  110.     txt_Bubble_PrefPing,
  111.     txt_Bubble_BookmarkLV,
  112.     txt_Bubble_Bookmarkstr,
  113.     txt_Bubble_Bookmarkadd,
  114.     txt_Bubble_Bookmarkdel,
  115.     txt_Bubble_Openbookmarks,
  116.     txt_Bubble_Showtrojan,
  117.     txt_Bubble_Preftrojan,
  118.     txt_Bubble_Prefservice,
  119.     txt_Bubble_Customok,
  120.     txt_Bubble_Customcancel,
  121.     txt_Bubble_Customstr,
  122.     txt_Bubble_PrefFTP,
  123.     txt_Bubble_PrefWeb,
  124.     txt_Bubble_PrefOther,
  125.     txt_Bubble_Delay,
  126.     txt_Bubble_Scantype,
  127.     txt_Bubble_Ping,
  128.     txt_Bubble_Resolve,
  129.     txt_Bubble_Traceroute,
  130.     txt_Bubble_Pingsweepnum,
  131.     txt_Bubble_Tracemaxhops,
  132.     txt_Bubble_Tracedns,
  133.     txt_Bubble_Pingsweepdns,
  134.     txt_Bubble_Pingsweepshowicmp,
  135.     txt_Bubble_Pingsweeptype,
  136.     txt_Bubble_Logviewbutton,
  137.     txt_Bubble_Freq,
  138.     txt_Bubble_Pingsweep,
  139.     txt_Bubble_TrouteType,
  140.     txt_Bubble_UDPPing,
  141.     txt_Label_Host,
  142.     txt_Label_Ports,
  143.     txt_Label_Range,
  144.     txt_Label_Log,
  145.     txt_Label_Readports,
  146.     txt_Label_Verbose,
  147.     txt_Label_Wakeup,
  148.     txt_Label_Timeout,
  149.     txt_Label_Workingon,
  150.     txt_Label_Telnet,
  151.     txt_Label_Showtrojan,
  152.     txt_Label_Customrange,
  153.     txt_Label_FTP,
  154.     txt_Label_Other,
  155.     txt_Label_Web,
  156.     txt_Label_Delay1,
  157.     txt_Label_Delay2,
  158.     txt_Label_Scantype,
  159.     txt_Label_Ping,
  160.     txt_Label_Service,
  161.     txt_Label_Dnslookup,
  162.     txt_Label_Numaddresses,
  163.     txt_Label_Reportnonecho,
  164.     txt_Label_Sweeptype,
  165.     txt_Label_Maxhops,
  166.     txt_Label_TrouteType,
  167.     txt_Error_NoMUI,
  168.     txt_Error_NoApp,
  169.     txt_Error_NoTCP,
  170.     txt_Error_NoLog,
  171.     txt_Error_Badport,
  172.     txt_Error_NoAsl,
  173.     txt_Error_NoSocket,
  174.     txt_Error_NoIcon,
  175.     txt_Error_NoDNSRes,
  176.     txt_Error_NoMem,
  177.     txt_Error_Exception,
  178.     txt_Error_NoLocale,
  179.     txt_Error_Firewalled,
  180.     txt_Error_Netunreach,
  181.     txt_Error_Hostunreach,
  182.     txt_Error_Timedout,
  183.     txt_Text_Main,
  184.     txt_Text_Prefs,
  185.     txt_Text_Bookmarks,
  186.     txt_Text_Lookup,
  187.     txt_Text_Customrange,
  188.     txt_Text_WrittenToLog,
  189.     txt_HelpFile
  190.  
  191. CONST
  192. LOC_MAINWIN_TITLE=1,
  193. LOC_LOOKWIN_TITLE=2,
  194. LOC_PREFSWIN_TITLE=3,
  195. LOC_BOOKMARKWIN_TITLE=4,
  196. LOC_CUSTOMRANGEWIN_TITLE=5,
  197. LOC_HELPERWIN_TITLE=6,
  198. LOC_PROJECT_MENU=100,
  199. LOC_SETTINGS_MENU=101,
  200. LOC_ABOUT_MENUITEM=102,
  201. LOC_ABOUTMUI_MENUITEM=103,
  202. LOC_PREFERENCES_MENUITEM=104,
  203. LOC_BOOKMARKS_MENUITEM=105,
  204. LOC_MUISETTINGS_MENUITEM=106,
  205. LOC_SERVICELOOK_MENUITEM=107,
  206. LOC_ICONIFY_MENUITEM=108,
  207. LOC_QUIT_MENUITEM=109,
  208. LOC_LISTKNOWN_FACE=200,
  209. LOC_SCAN_FACE=201,
  210. LOC_RESOLVE_FACE=202,
  211. LOC_ABORT_FACE=203,
  212. LOC_DRAGME_FACE=204,
  213. LOC_WORKINGON1_FACE=205,
  214. LOC_WORKINGON2_FACE=206,
  215. LOC_WORKINGON3_FACE=207,
  216. LOC_WORKINGON4_FACE=208,
  217. LOC_WORKINGON5_FACE=209,
  218. LOC_WORKINGON6_FACE=210,
  219. LOC_WORKINGON7_FACE=211,
  220. LOC_WORKINGON8_FACE=212,
  221. LOC_WORKINGON9_FACE=213,
  222. LOC_WORKINGON10_FACE=214,
  223. LOC_LOOKUP_FACE=215,
  224. LOC_PREFSAVE_FACE=216,
  225. LOC_PREFCANCEL_FACE=217,
  226. LOC_BOOKMARKADD_FACE=218,
  227. LOC_BOOKMARKDEL_FACE=219,
  228. LOC_PING_FACE=220,
  229. LOC_UDPPING_FACE=221,
  230. LOC_TRACEROUTE_FACE=222,
  231. LOC_OK_FACE=223,
  232. LOC_CANCEL_FACE=224,
  233. LOC_PINGSWEEP_FACE=225,
  234. LOC_PORTCYC1_FACE=226,
  235. LOC_PORTCYC2_FACE=227,
  236. LOC_PORTCYC3_FACE=228,
  237. LOC_PORTCYC4_FACE=229,
  238. LOC_PORTCYC5_FACE=230,
  239. LOC_LOOKUPCYC1_FACE=231,
  240. LOC_LOOKUPCYC2_FACE=232,
  241. LOC_LOOKUPCYC3_FACE=233,
  242. LOC_SCANTYPECYC1_FACE=234,
  243. LOC_SCANTYPECYC2_FACE=235,
  244. LOC_SCANTYPECYC3_FACE=236,
  245. LOC_SCANTYPECYC4_FACE=237,
  246. LOC_PINGSWEEPCYC1_FACE=238,
  247. LOC_PINGSWEEPCYC2_FACE=239,
  248. LOC_PAGES1_FACE=240,
  249. LOC_PAGES2_FACE=241,
  250. LOC_PAGES3_FACE=242,
  251. LOC_PAGES4_FACE=243,
  252. LOC_SERVER_BUBBLE=300,
  253. LOC_SAVEPATH_BUBBLE=301,
  254. LOC_PORTRANGE_BUBBLE=302,
  255. LOC_WORKINGON_BUBBLE=303,
  256. LOC_OUTPUTLV_BUBBLE=304,
  257. LOC_TIMEOUT_BUBBLE=305,
  258. LOC_LISTKNOWN_BUBBLE=306,
  259. LOC_SCAN_BUBBLE=307,
  260. LOC_RESOLVE_BUBBLE=308,
  261. LOC_ABORT_BUBBLE=309,
  262. LOC_READCHECK_BUBBLE=310,
  263. LOC_VERBOSE_BUBBLE=311,
  264. LOC_WAKEUP_BUBBLE=312,
  265. LOC_PORTRANGECYC_BUBBLE=313,
  266. LOC_OPENCUSTOM_BUBBLE=314,
  267. LOC_LOOKUPSTRING1_BUBBLE=315,
  268. LOC_LOOKUPSTRING2_BUBBLE=316,
  269. LOC_LOOKUP_BUBBLE=317,
  270. LOC_LOOKUPCYC1_BUBBLE=318,
  271. LOC_LOOKUPCYC2_BUBBLE=319,
  272. LOC_LOOKUPCYC3_BUBBLE=320,
  273. LOC_PREFHOST_BUBBLE=321,
  274. LOC_PREFPORT_BUBBLE=322,
  275. LOC_PREFLOG_BUBBLE=323,
  276. LOC_PREFTEL_BUBBLE=324,
  277. LOC_PREFSAVE_BUBBLE=325,
  278. LOC_PREFTIME_BUBBLE=326,
  279. LOC_PREFCANCEL_BUBBLE=327,
  280. LOC_PREFREAD_BUBBLE=328,
  281. LOC_PREFVERBOSE_BUBBLE=329,
  282. LOC_PREFWAKE_BUBBLE=330,
  283. LOC_PREFPING_BUBBLE=331,
  284. LOC_BOOKMARKLV_BUBBLE=332,
  285. LOC_BOOKMARKSTR_BUBBLE=333,
  286. LOC_BOOKMARKADD_BUBBLE=334,
  287. LOC_BOOKMARKDEL_BUBBLE=335,
  288. LOC_SHOWTROJAN_BUBBLE=336,
  289. LOC_PREFTROJAN_BUBBLE=337,
  290. LOC_CUSTOMOK_BUBBLE=338,
  291. LOC_CUSTOMCANCEL_BUBBLE=339,
  292. LOC_CUSTOMSTR_BUBBLE=340,
  293. LOC_PREFFTP_BUBBLE=341,
  294. LOC_PREFWEB_BUBBLE=342,
  295. LOC_PREFOTHER_BUBBLE=343,
  296. LOC_DELAY_BUBBLE=344,
  297. LOC_SCANTYPE_BUBBLE=345,
  298. LOC_PING_BUBBLE=346,
  299. LOC_UDPPING_BUBBLE=347,
  300. LOC_TRACEROUTE_BUBBLE=348,
  301. LOC_PREFSERVICE_BUBBLE=349,
  302. LOC_PINGSWEEPNUM_BUBBLE=350,
  303. LOC_TRACEMAXHOPS_BUBBLE=351,
  304. LOC_TRACEDNS_BUBBLE=352,
  305. LOC_PINGSWEEPDNS_BUBBLE=353,
  306. LOC_PINGSWEEPSHOWICMP_BUBBLE=354,
  307. LOC_PINGSWEEPTYPE_BUBBLE=355,
  308. LOC_LOGVIEWBUTTON_BUBBLE=356,
  309. LOC_FREQ_BUBBLE=357,
  310. LOC_PINGSWEEP_BUBBLE=358,
  311. LOC_OPENBOOKMARKS_BUBBLE=359,
  312. LOC_TROUTETYPE_BUBBLE=360,
  313. LOC_HOST_LABEL=400,
  314. LOC_PORTS_LABEL=401,
  315. LOC_RANGE_LABEL=402,
  316. LOC_LOG_LABEL=403,
  317. LOC_READPORTS_LABEL=404,
  318. LOC_VERBOSE_LABEL=405,
  319. LOC_WAKEUP_LABEL=406,
  320. LOC_TIMEOUT_LABEL=407,
  321. LOC_WORKINGON_LABEL=408,
  322. LOC_TELNET_LABEL=409,
  323. LOC_SHOWTROJAN_LABEL=410,
  324. LOC_CUSTOMRANGE_LABEL=411,
  325. LOC_FTP_LABEL=412,
  326. LOC_WEB_LABEL=413,
  327. LOC_OTHER_LABEL=414,
  328. LOC_DELAY1_LABEL=415,
  329. LOC_DELAY2_LABEL=416,
  330. LOC_SCANTYPE_LABEL=417,
  331. LOC_PING_LABEL=418,
  332. LOC_SERVICE_LABEL=419,
  333. LOC_DNSLOOKUP_LABEL=420,
  334. LOC_NUMADDRESSES_LABEL=421,
  335. LOC_REPORTNONECHO_LABEL=422,
  336. LOC_SWEEPTYPE_LABEL=423,
  337. LOC_MAXHOPS_LABEL=424,
  338. LOC_TROUTETYPE_LABEL=425,
  339. LOC_MAIN_TEXT=500,
  340. LOC_PREFS_TEXT=501,
  341. LOC_BOOKMARKS_TEXT=502,
  342. LOC_LOOKUP_TEXT=503,
  343. LOC_CUSTOMRANGE_TEXT=504,
  344. LOC_WRITTENTOLOG_TEXT=505,
  345. LOC_NOMUI_ERROR=600,
  346. LOC_NOAPP_ERROR=601,
  347. LOC_NOTCP_ERROR=602,
  348. LOC_NOLOG_ERROR=603,
  349. LOC_BADPORT_ERROR=604,
  350. LOC_NOASL_ERROR=605,
  351. LOC_NOSOCKET_ERROR=606,
  352. LOC_NOICON_ERROR=607,
  353. LOC_NODNSRES_ERROR=608,
  354. LOC_NOMEM_ERROR=609,
  355. LOC_EXCEPTION_ERROR=610,
  356. LOC_NOLOCALE_ERROR=611,
  357. LOC_FIREWALLED_ERROR=612,
  358. LOC_NETUNREACH_ERROR=613,
  359. LOC_HOSTUNREACH_ERROR=614,
  360. LOC_TIMEDOUT_ERROR=615,
  361. LOC_HELPFILE=700
  362.  
  363. PROC inittexts()
  364.  
  365. IF (localebase:=OpenLibrary('locale.library',38))=NIL THEN Raise(1000)
  366. catalog:=OpenCatalogA(NIL, 'GoPortscan.catalog', [OC_BUILTINLANGUAGE, 'english', NIL, NIL])
  367.  
  368.  
  369. ->These texts describe window titles
  370. txt_MainWindow_Title:= GetCatalogStr(catalog, LOC_MAINWIN_TITLE, 'Go Portscan! by Ian Chapman')
  371. txt_LookWindow_Title:= GetCatalogStr(catalog, LOC_LOOKWIN_TITLE, 'Service Lookup')
  372. txt_PrefsWindow_Title:= GetCatalogStr(catalog, LOC_PREFSWIN_TITLE, 'Preferences')
  373. txt_BookmarkWindow_Title:= GetCatalogStr(catalog, LOC_BOOKMARKWIN_TITLE, 'BookMarks')
  374. txt_CustomrangeWindow_Title:= GetCatalogStr(catalog, LOC_CUSTOMRANGEWIN_TITLE, 'Add Custom Range')
  375. txt_HelperWindow_Title:= GetCatalogStr(catalog, LOC_HELPERWIN_TITLE, 'Choose Helper')
  376.  
  377. ->These texts describe menus
  378. txt_MenuTitle_Project:= GetCatalogStr(catalog, LOC_PROJECT_MENU, 'Project')
  379. txt_MenuTitle_Settings:= GetCatalogStr(catalog, LOC_SETTINGS_MENU, 'Settings')
  380. txt_MenuItem_About:= GetCatalogStr(catalog, LOC_ABOUT_MENUITEM, 'About...')
  381. txt_MenuItem_AboutMUI:= GetCatalogStr(catalog, LOC_ABOUTMUI_MENUITEM, 'About MUI...')
  382. txt_MenuItem_Prefs:= GetCatalogStr(catalog, LOC_PREFERENCES_MENUITEM, 'Preferences')
  383. txt_MenuItem_Bookmarks:= GetCatalogStr(catalog, LOC_BOOKMARKS_MENUITEM, 'Bookmarks')
  384. txt_MenuItem_MuiSettings:= GetCatalogStr(catalog, LOC_MUISETTINGS_MENUITEM, 'MUI Settings')
  385. txt_MenuItem_ServiceLook:= GetCatalogStr(catalog, LOC_SERVICELOOK_MENUITEM, 'Service Lookup')
  386. txt_MenuItem_Iconify:= GetCatalogStr(catalog, LOC_ICONIFY_MENUITEM, 'Iconify')
  387. txt_MenuItem_Quit:= GetCatalogStr(catalog, LOC_QUIT_MENUITEM, 'Quit')
  388.  
  389. ->These Texts describe what is printed on gadget faces
  390. txt_Face_ListKnown:= GetCatalogStr(catalog, LOC_LISTKNOWN_FACE, 'List Known Services')
  391. txt_Face_Scan:= GetCatalogStr(catalog, LOC_SCAN_FACE, 'Go Scan!')
  392. txt_Face_Resolve:= GetCatalogStr(catalog, LOC_RESOLVE_FACE, 'Resolve')
  393. txt_Face_Abort:= GetCatalogStr(catalog, LOC_ABORT_FACE, 'ABORT')
  394. txt_Face_Dragbar:= GetCatalogStr(catalog, LOC_DRAGME_FACE, 'Drag Me')
  395. txt_Face_Workingon1:= GetCatalogStr(catalog, LOC_WORKINGON1_FACE, 'Done!')
  396. txt_Face_Workingon2:= GetCatalogStr(catalog, LOC_WORKINGON2_FACE, 'User Aborted!')
  397. txt_Face_Workingon3:= GetCatalogStr(catalog, LOC_WORKINGON3_FACE, 'Host Unknown!')
  398. txt_Face_Workingon4:= GetCatalogStr(catalog, LOC_WORKINGON4_FACE, 'Searching...')
  399. txt_Face_Workingon5:= GetCatalogStr(catalog, LOC_WORKINGON5_FACE, '  (Reading Port)')
  400. txt_Face_Workingon6:= GetCatalogStr(catalog, LOC_WORKINGON6_FACE, 'Sending Ping')
  401. txt_Face_Workingon7:= GetCatalogStr(catalog, LOC_WORKINGON7_FACE, 'Received Echo')
  402. txt_Face_Workingon8:= GetCatalogStr(catalog, LOC_WORKINGON8_FACE, 'DNS Lookup...')
  403. txt_Face_Workingon9:= GetCatalogStr(catalog, LOC_WORKINGON9_FACE, 'Tracing...')
  404. txt_Face_Workingon10:= GetCatalogStr(catalog, LOC_WORKINGON10_FACE, 'Ready')
  405. txt_Face_Lookup:= GetCatalogStr(catalog, LOC_LOOKUP_FACE, 'Lookup')
  406. txt_Face_PrefSave:= GetCatalogStr(catalog, LOC_PREFSAVE_FACE, 'Save')
  407. txt_Face_PrefCancel:= GetCatalogStr(catalog, LOC_PREFCANCEL_FACE, 'Cancel')
  408. txt_Face_Bookmarkadd:= GetCatalogStr(catalog, LOC_BOOKMARKADD_FACE, 'Add')
  409. txt_Face_Bookmarkdel:= GetCatalogStr(catalog, LOC_BOOKMARKDEL_FACE, 'Delete')
  410. txt_Face_Ping:= GetCatalogStr(catalog, LOC_PING_FACE, 'ICMP Ping')
  411. txt_Face_UDPPing:= GetCatalogStr(catalog, LOC_UDPPING_FACE, 'UDP Ping')
  412. txt_Face_Traceroute:= GetCatalogStr(catalog, LOC_TRACEROUTE_FACE, 'Traceroute')
  413. txt_Face_OK:= GetCatalogStr(catalog, LOC_OK_FACE, 'OK')
  414. txt_Face_Cancel:= GetCatalogStr(catalog, LOC_CANCEL_FACE, 'Cancel')
  415. txt_Face_Pingsweep:= GetCatalogStr(catalog, LOC_PINGSWEEP_FACE, 'Ping Sweep')
  416. txt_Face_PortCyc1:= GetCatalogStr(catalog, LOC_PORTCYC1_FACE, 'Default')
  417. txt_Face_PortCyc2:= GetCatalogStr(catalog, LOC_PORTCYC2_FACE, 'Common')
  418. txt_Face_PortCyc3:= GetCatalogStr(catalog, LOC_PORTCYC3_FACE, 'Well Known')
  419. txt_Face_PortCyc4:= GetCatalogStr(catalog, LOC_PORTCYC4_FACE, 'Registered')
  420. txt_Face_PortCyc5:= GetCatalogStr(catalog, LOC_PORTCYC5_FACE, 'ALL')
  421. txt_Face_LookupCyc1:= GetCatalogStr(catalog, LOC_LOOKUPCYC1_FACE, 'Port')
  422. txt_Face_LookupCyc2:= GetCatalogStr(catalog, LOC_LOOKUPCYC2_FACE, 'Keyword (case)')
  423. txt_Face_LookupCyc3:= GetCatalogStr(catalog, LOC_LOOKUPCYC3_FACE, 'Keyword (no case)')
  424. txt_Face_ScanTypeCyc1:= GetCatalogStr(catalog, LOC_SCANTYPECYC1_FACE, 'TCP Only')
  425. txt_Face_ScanTypeCyc2:= GetCatalogStr(catalog, LOC_SCANTYPECYC2_FACE, 'UDP Only')
  426. txt_Face_ScanTypeCyc3:= GetCatalogStr(catalog, LOC_SCANTYPECYC3_FACE, 'TCP then UDP')
  427. txt_Face_ScanTypeCyc4:= GetCatalogStr(catalog, LOC_SCANTYPECYC4_FACE, 'UDP then TCP')
  428. txt_Face_PingSweepCyc1:= GetCatalogStr(catalog, LOC_PINGSWEEPCYC1_FACE, 'Incremental')
  429. txt_Face_PingSweepCyc2:= GetCatalogStr(catalog, LOC_PINGSWEEPCYC2_FACE, 'Decremental')
  430. txt_Face_Pages1:= GetCatalogStr(catalog, LOC_PAGES1_FACE, 'Portscan')
  431. txt_Face_Pages2:= GetCatalogStr(catalog, LOC_PAGES2_FACE, 'Traceroute')
  432. txt_Face_Pages3:= GetCatalogStr(catalog, LOC_PAGES3_FACE, 'Pingsweep')
  433. txt_Face_Pages4:= GetCatalogStr(catalog, LOC_PAGES4_FACE, 'Other')
  434.  
  435. ->These Texts describe what is printed in Bubblehelp
  436. txt_Bubble_Server:= GetCatalogStr(catalog, LOC_SERVER_BUBBLE, 'Host name or IP address')
  437. txt_Bubble_Savepath:= GetCatalogStr(catalog, LOC_SAVEPATH_BUBBLE, 'Path and filename for the log file')
  438. txt_Bubble_Portrange:= GetCatalogStr(catalog, LOC_PORTRANGE_BUBBLE, 'Scan these port ranges')
  439. txt_Bubble_Workingon:= GetCatalogStr(catalog, LOC_WORKINGON_BUBBLE, 'Current status')
  440. txt_Bubble_OutputLV:= GetCatalogStr(catalog, LOC_OUTPUTLV_BUBBLE, 'Scanning results and general output')
  441. txt_Bubble_Timeout:= GetCatalogStr(catalog, LOC_TIMEOUT_BUBBLE, 'Time (secs) to wait for a response\nwhen reading a port')
  442. txt_Bubble_ListKnown:= GetCatalogStr(catalog, LOC_LISTKNOWN_BUBBLE, 'Lists recognised services.\n')
  443. txt_Bubble_Scan:= GetCatalogStr(catalog, LOC_SCAN_BUBBLE, 'Start the port scan')
  444. txt_Bubble_Resolve:= GetCatalogStr(catalog, LOC_RESOLVE_BUBBLE, 'Looks up IP and all hostnames\nand aliases for the host')
  445. txt_Bubble_Abort:= GetCatalogStr(catalog, LOC_ABORT_BUBBLE, 'Abort the current operation')
  446. txt_Bubble_Readcheck:= GetCatalogStr(catalog, LOC_READCHECK_BUBBLE, 'Attempt to read open ports\nVery time consuming')
  447. txt_Bubble_Verbose:= GetCatalogStr(catalog, LOC_VERBOSE_BUBBLE, 'Perform lookup for open ports')
  448. txt_Bubble_Wakeup:= GetCatalogStr(catalog, LOC_WAKEUP_BUBBLE, 'Attempt to provoke a response from open ports\nUse with care!')
  449. txt_Bubble_Portrangecyc:= GetCatalogStr(catalog, LOC_PORTRANGECYC_BUBBLE, 'Default ranges for scanning')
  450. txt_Bubble_Opencustom:= GetCatalogStr(catalog, LOC_OPENCUSTOM_BUBBLE, 'Add range to user defined ranges')
  451. txt_Bubble_Lookupstring1:= GetCatalogStr(catalog, LOC_LOOKUPSTRING1_BUBBLE, 'Enter port number')
  452. txt_Bubble_Lookupstring2:= GetCatalogStr(catalog, LOC_LOOKUPSTRING2_BUBBLE, 'Enter keyword')
  453. txt_Bubble_Lookup:= GetCatalogStr(catalog, LOC_LOOKUP_BUBBLE, 'Start lookup')
  454. txt_Bubble_Lookupcyc1:= GetCatalogStr(catalog, LOC_LOOKUPCYC1_BUBBLE, 'Search by port number')
  455. txt_Bubble_Lookupcyc2:= GetCatalogStr(catalog, LOC_LOOKUPCYC2_BUBBLE, 'Search by keyword\n\ec(Case Insensitive)')
  456. txt_Bubble_Lookupcyc3:= GetCatalogStr(catalog, LOC_LOOKUPCYC3_BUBBLE, 'Search by keyword\n\ec(Case Sensitive)')
  457. txt_Bubble_PrefHost:= GetCatalogStr(catalog, LOC_PREFHOST_BUBBLE, 'Default hostname or IP')
  458. txt_Bubble_PrefPort:= GetCatalogStr(catalog, LOC_PREFPORT_BUBBLE, 'Default port ranges')
  459. txt_Bubble_PrefLog:= GetCatalogStr(catalog, LOC_PREFLOG_BUBBLE, 'Default path and filename of the log')
  460. txt_Bubble_PrefTel:= GetCatalogStr(catalog, LOC_PREFTEL_BUBBLE, 'Default telnet path and parameters')
  461. txt_Bubble_PrefSave:= GetCatalogStr(catalog, LOC_PREFSAVE_BUBBLE, 'Save preferences and close the window')
  462. txt_Bubble_PrefTime:= GetCatalogStr(catalog, LOC_PREFTIME_BUBBLE, 'Default timeout in seconds')
  463. txt_Bubble_PrefCancel:= GetCatalogStr(catalog, LOC_PREFCANCEL_BUBBLE, 'Discard preferences and close the window')
  464. txt_Bubble_PrefRead:= GetCatalogStr(catalog, LOC_PREFREAD_BUBBLE, 'Read Ports [default setting]')
  465. txt_Bubble_PrefVerbose:= GetCatalogStr(catalog, LOC_PREFVERBOSE_BUBBLE, 'Verbose [default setting]')
  466. txt_Bubble_PrefWake:= GetCatalogStr(catalog, LOC_PREFWAKE_BUBBLE, 'Send Wakeup [default setting]')
  467. txt_Bubble_PrefPing:= GetCatalogStr(catalog, LOC_PREFPING_BUBBLE, 'Number of pings to send')
  468. txt_Bubble_BookmarkLV:= GetCatalogStr(catalog, LOC_BOOKMARKLV_BUBBLE, 'Host Bookmarks\nDouble click to select the host')
  469. txt_Bubble_Bookmarkstr:= GetCatalogStr(catalog, LOC_BOOKMARKSTR_BUBBLE, 'Enter hostname to bookmark')
  470. txt_Bubble_Bookmarkadd:= GetCatalogStr(catalog, LOC_BOOKMARKADD_BUBBLE, 'Add host to bookmarks')
  471. txt_Bubble_Bookmarkdel:= GetCatalogStr(catalog, LOC_BOOKMARKDEL_BUBBLE, 'Delete host from bookmarks')
  472. txt_Bubble_Showtrojan:= GetCatalogStr(catalog, LOC_SHOWTROJAN_BUBBLE, 'Show possible trojans during a port scan')
  473. txt_Bubble_Preftrojan:= GetCatalogStr(catalog, LOC_PREFTROJAN_BUBBLE, 'Show Trojans [default setting]')
  474. txt_Bubble_Customok:= GetCatalogStr(catalog, LOC_CUSTOMOK_BUBBLE, 'Save user defined range')
  475. txt_Bubble_Customcancel:= GetCatalogStr(catalog, LOC_CUSTOMCANCEL_BUBBLE, 'Discard user defined range')
  476. txt_Bubble_Customstr:= GetCatalogStr(catalog, LOC_CUSTOMSTR_BUBBLE, 'Name of user defined range')
  477. txt_Bubble_PrefFTP:= GetCatalogStr(catalog, LOC_PREFFTP_BUBBLE, 'Default FTP path and parameters')
  478. txt_Bubble_PrefWeb:= GetCatalogStr(catalog, LOC_PREFWEB_BUBBLE, 'Default HTML viewer path and parameters')
  479. txt_Bubble_PrefOther:= GetCatalogStr(catalog, LOC_PREFOTHER_BUBBLE, 'Default path and parameters')
  480. txt_Bubble_Delay:= GetCatalogStr(catalog, LOC_DELAY_BUBBLE, 'Delay in seconds between each scan or ping')
  481. txt_Bubble_Scantype:= GetCatalogStr(catalog, LOC_SCANTYPE_BUBBLE, 'Select the type of scan to perform')
  482. txt_Bubble_Ping:= GetCatalogStr(catalog, LOC_PING_BUBBLE, 'Perform standard ICMP Ping\nBroadcast addresses can also be used')
  483. txt_Bubble_UDPPing:= GetCatalogStr(catalog, LOC_UDPPING_BUBBLE, 'Perform non-standard UDP Ping')
  484. txt_Bubble_Traceroute:= GetCatalogStr(catalog, LOC_TRACEROUTE_BUBBLE, 'Perform an ICMP Traceroute')
  485. txt_Bubble_Prefservice:= GetCatalogStr(catalog, LOC_PREFSERVICE_BUBBLE, 'Choose between internal service lookup\nor your TCP/IP stacks service table')
  486. txt_Bubble_Pingsweepnum:= GetCatalogStr(catalog, LOC_PINGSWEEPNUM_BUBBLE, 'Number of IP addresses to attempt to ping')
  487. txt_Bubble_Tracemaxhops:= GetCatalogStr(catalog, LOC_TRACEMAXHOPS_BUBBLE, 'Maximum number of hops to trace')
  488. txt_Bubble_Tracedns:= GetCatalogStr(catalog, LOC_TRACEDNS_BUBBLE, 'Perform DNS lookup for traced hops')
  489. txt_Bubble_Pingsweepdns:= GetCatalogStr(catalog, LOC_PINGSWEEPDNS_BUBBLE, 'Perform DNS lookup for ping swept hosts')
  490. txt_Bubble_Pingsweepshowicmp:= GetCatalogStr(catalog, LOC_PINGSWEEPSHOWICMP_BUBBLE, 'Show non-echo ICMP responses')
  491. txt_Bubble_Pingsweeptype:= GetCatalogStr(catalog, LOC_PINGSWEEPTYPE_BUBBLE, 'Incremental = Ping addresses => host\nDecremental = Ping addresses <= host')
  492. txt_Bubble_Logviewbutton:= GetCatalogStr(catalog, LOC_LOGVIEWBUTTON_BUBBLE, 'Write listview contents to logfile')
  493. txt_Bubble_Freq:= GetCatalogStr(catalog, LOC_FREQ_BUBBLE, 'Choose logfile location')
  494. txt_Bubble_Pingsweep:= GetCatalogStr(catalog, LOC_PINGSWEEP_BUBBLE, 'Start the Ping Sweep')
  495. txt_Bubble_Openbookmarks:= GetCatalogStr(catalog, LOC_OPENBOOKMARKS_BUBBLE, 'Open the bookmarks window')
  496. txt_Bubble_TrouteType:=GetCatalogStr(catalog, LOC_TROUTETYPE_BUBBLE, 'Choose between ICMP or UDP traceroutes')
  497.  
  498. ->These describe what is printed in labelling.
  499. txt_Label_Host:= GetCatalogStr(catalog, LOC_HOST_LABEL, 'Host:')
  500. txt_Label_Ports:= GetCatalogStr(catalog, LOC_PORTS_LABEL, 'Ports:')
  501. txt_Label_Range:= GetCatalogStr(catalog, LOC_RANGE_LABEL, 'Range:')
  502. txt_Label_Log:= GetCatalogStr(catalog, LOC_LOG_LABEL, 'Log:')
  503. txt_Label_Readports:= GetCatalogStr(catalog, LOC_READPORTS_LABEL, 'Read Ports:')
  504. txt_Label_Verbose:= GetCatalogStr(catalog, LOC_VERBOSE_LABEL, 'Verbose:')
  505. txt_Label_Wakeup:= GetCatalogStr(catalog, LOC_WAKEUP_LABEL, 'Wakeup:')
  506. txt_Label_Timeout:= GetCatalogStr(catalog, LOC_TIMEOUT_LABEL, 'Timeout:')
  507. txt_Label_Workingon:= GetCatalogStr(catalog, LOC_WORKINGON_LABEL, 'Status:')
  508. txt_Label_Telnet:= GetCatalogStr(catalog, LOC_TELNET_LABEL, 'Telnet:')
  509. txt_Label_Showtrojan:= GetCatalogStr(catalog, LOC_SHOWTROJAN_LABEL, 'Show Trojans:')
  510. txt_Label_Customrange:= GetCatalogStr(catalog, LOC_CUSTOMRANGE_LABEL, 'Range name:')
  511. txt_Label_FTP:= GetCatalogStr(catalog, LOC_FTP_LABEL, 'FTP:')
  512. txt_Label_Web:= GetCatalogStr(catalog, LOC_WEB_LABEL, 'Web:')
  513. txt_Label_Other:= GetCatalogStr(catalog, LOC_OTHER_LABEL, 'Other:')
  514. txt_Label_Delay1:= GetCatalogStr(catalog, LOC_DELAY1_LABEL, '\ecFast')
  515. txt_Label_Delay2:= GetCatalogStr(catalog, LOC_DELAY2_LABEL, '\ecSlow')
  516. txt_Label_Scantype:= GetCatalogStr(catalog, LOC_SCANTYPE_LABEL, 'Scan Type:')
  517. txt_Label_Ping:= GetCatalogStr(catalog, LOC_PING_LABEL, 'Pings to send:')
  518. txt_Label_Service:= GetCatalogStr(catalog, LOC_SERVICE_LABEL, 'Internal Service Table: ')
  519. txt_Label_Dnslookup:= GetCatalogStr(catalog, LOC_DNSLOOKUP_LABEL, 'DNS Lookup:')
  520. txt_Label_Numaddresses:= GetCatalogStr(catalog, LOC_NUMADDRESSES_LABEL, 'Num Addresses:')
  521. txt_Label_Reportnonecho:= GetCatalogStr(catalog, LOC_REPORTNONECHO_LABEL, 'Report Non-Echo Replies:')
  522. txt_Label_Sweeptype:= GetCatalogStr(catalog, LOC_SWEEPTYPE_LABEL, 'Sweep Type:')
  523. txt_Label_Maxhops:= GetCatalogStr(catalog, LOC_MAXHOPS_LABEL, 'Max Hops:')
  524. txt_Label_TrouteType:=GetCatalogStr(catalog, LOC_TROUTETYPE_LABEL, 'Traceroute Type:')
  525.  
  526. ->These describe text objects
  527. txt_Text_Main:= GetCatalogStr(catalog, LOC_MAIN_TEXT, '\ecGo Portscan! Version 1.0\nMain Window')
  528. txt_Text_Prefs:= GetCatalogStr(catalog, LOC_PREFS_TEXT, '\ecGo Portscan! preferences')
  529. txt_Text_Bookmarks:= GetCatalogStr(catalog, LOC_BOOKMARKS_TEXT, '\ecHost Bookmark List')
  530. txt_Text_Lookup:= GetCatalogStr(catalog, LOC_LOOKUP_TEXT, '\ecService Lookup')
  531. txt_Text_Customrange:= GetCatalogStr(catalog, LOC_CUSTOMRANGE_TEXT, '\ecEnter a name for the user defined range\nIt will only appear once Go Portscan! is restarted')
  532. txt_Text_WrittenToLog:= GetCatalogStr(catalog, LOC_WRITTENTOLOG_TEXT, '\ecListview contents written to logfile')
  533. ->These describe errors
  534. txt_Error_NoMUI:= GetCatalogStr(catalog, LOC_NOMUI_ERROR, 'Unable to open muimaster.library V19+\n')
  535. txt_Error_NoApp:= GetCatalogStr(catalog, LOC_NOAPP_ERROR, 'Unable to create application\nOut of memory?\n')
  536. txt_Error_NoTCP:= GetCatalogStr(catalog, LOC_NOTCP_ERROR, '\ebUnable to open bsdsocket.library V2+. Is TCP/IP running?\en')
  537. txt_Error_NoLog:= GetCatalogStr(catalog, LOC_NOLOG_ERROR, '\ebUnable to open log file\en')
  538. txt_Error_Badport:= GetCatalogStr(catalog, LOC_BADPORT_ERROR, 'Warning: Invalid Port Number')
  539. txt_Error_NoAsl:= GetCatalogStr(catalog, LOC_NOASL_ERROR, 'Unable to open reqtools.library V38+\n')
  540. txt_Error_NoSocket:= GetCatalogStr(catalog, LOC_NOSOCKET_ERROR, 'Error creating socket\n')
  541. txt_Error_NoIcon:= GetCatalogStr(catalog, LOC_NOICON_ERROR, 'Unable to open icon.library V33+\n')
  542. txt_Error_NoDNSRes:= GetCatalogStr(catalog, LOC_NODNSRES_ERROR, 'Unknown host or unable to contact DNS')
  543. txt_Error_NoMem:= GetCatalogStr(catalog, LOC_NOMEM_ERROR, 'Unable to allocate memory for operation')
  544. txt_Error_Exception:= GetCatalogStr(catalog, LOC_EXCEPTION_ERROR, 'Internal Exception in \s Code:(\d). Please report problem to author\n')
  545. txt_Error_NoLocale:= GetCatalogStr(catalog, LOC_NOLOCALE_ERROR, 'Unable to open locale.library V38+\n')
  546. txt_Error_Firewalled:= GetCatalogStr(catalog, LOC_FIREWALLED_ERROR, 'Remote host may be offline or firewalled')
  547. txt_Error_Netunreach:= GetCatalogStr(catalog, LOC_NETUNREACH_ERROR, 'Remote network unreachable from this machine')
  548. txt_Error_Hostunreach:= GetCatalogStr(catalog, LOC_HOSTUNREACH_ERROR, 'Remote host unreachable from this machine')
  549. txt_Error_Timedout:= GetCatalogStr(catalog, LOC_TIMEDOUT_ERROR, 'Connection timed out')
  550.  
  551.  
  552. txt_HelpFile:= GetCatalogStr(catalog, LOC_HELPFILE, 'PROGDIR:GoPortscan!_en.guide')
  553.  
  554. ->Termination Stuff
  555. CloseCatalog(catalog)
  556. IF (localebase) THEN CloseLibrary(localebase)
  557. ENDPROC
  558.